<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Swarm Trajectory Planning: geom::Point Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Swarm Trajectory Planning
   </div>
   <div id="projectbrief">Contains tools for measuring UAV swarm performance when flying through a path graph and allows the UAV swarm to fly through a generated graph.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>geom</b></li><li class="navelem"><a class="el" href="classgeom_1_1Point.html">Point</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classgeom_1_1Point-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">geom::Point Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6031afce8ce4227b31d127985eff0007"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6031afce8ce4227b31d127985eff0007"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Point</b> (double x, double y)</td></tr>
<tr class="separator:a6031afce8ce4227b31d127985eff0007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18482468103c33ebcdb9698dcf91575b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18482468103c33ebcdb9698dcf91575b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Point</b> (const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;other)</td></tr>
<tr class="separator:a18482468103c33ebcdb9698dcf91575b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c5dbb0ebeeee81621e7793db8eaa263"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c5dbb0ebeeee81621e7793db8eaa263"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>x</b> () const </td></tr>
<tr class="separator:a3c5dbb0ebeeee81621e7793db8eaa263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac432f0d078bd76d793a92693ed838c14"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac432f0d078bd76d793a92693ed838c14"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>y</b> () const </td></tr>
<tr class="separator:ac432f0d078bd76d793a92693ed838c14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48a1dd59de4f63b17015220a067e261"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad48a1dd59de4f63b17015220a067e261"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>length</b> () const </td></tr>
<tr class="separator:ad48a1dd59de4f63b17015220a067e261"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95bea77ee4e0ad97ae82a737e00f4a5b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95bea77ee4e0ad97ae82a737e00f4a5b"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>toString</b> () const </td></tr>
<tr class="separator:a95bea77ee4e0ad97ae82a737e00f4a5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a42c06b4179c2cc070d998afd7928f14f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42c06b4179c2cc070d998afd7928f14f"></a>
static <a class="el" href="classgeom_1_1Point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>fromString</b> (const std::string &amp;string)</td></tr>
<tr class="separator:a42c06b4179c2cc070d998afd7928f14f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48faa7e2acf154addd9d7b9fd51bb200"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48faa7e2acf154addd9d7b9fd51bb200"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>compareByXFirst</b> (const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point1, const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:a48faa7e2acf154addd9d7b9fd51bb200"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb4aee5761d13c9735595aff383c2c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8fb4aee5761d13c9735595aff383c2c1"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>compareByYFirst</b> (const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point1, const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:a8fb4aee5761d13c9735595aff383c2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a252f0ecb261287f905922359a614b908"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a252f0ecb261287f905922359a614b908"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>compareByXFirstDecreasing</b> (const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point1, const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:a252f0ecb261287f905922359a614b908"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57c4e9aea8011943cd878fdbc6226fc3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57c4e9aea8011943cd878fdbc6226fc3"></a>
static bool&#160;</td><td class="memItemRight" valign="bottom"><b>compareByYFirstDecreasing</b> (const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point1, const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:a57c4e9aea8011943cd878fdbc6226fc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5d45241fe785a4de3962eb26e2b5fc8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5d45241fe785a4de3962eb26e2b5fc8"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><b>sortBy</b> (std::vector&lt; <a class="el" href="classgeom_1_1Point.html">Point</a> &gt; *vector, bool(*comparator)(const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point1, const <a class="el" href="classgeom_1_1Point.html">Point</a> &amp;point2))</td></tr>
<tr class="separator:ac5d45241fe785a4de3962eb26e2b5fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/vtk_voro/<a class="el" href="point_8h_source.html">point.h</a></li>
<li>src/vtk_voro/point.cc</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
